package com.server.rule.component.triple.operator;

import com.shared.rule.TypeOperator;

public class NominalOperatorEqual extends NominalOperator{

	@Override
	public boolean compare(String element1, String element2) {
		return element1.equals(element2);
	}

	//@Override
	public boolean equals(Operator o) {
		return (o instanceof NominalOperatorEqual);
	}
	
	@Override
	public String toString() {
		return TypeOperator.NOMINAL_EQUAL.toString();
	}

	public String getHumanReadable() {
		return "=";
	}

}
